#free-message-box {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1005;

  .free-message-item {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 400px;
    min-height: 70px;
    margin-bottom: 15px;
    padding: 10px 35px 10px 20px;
    color: #333;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.3));
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    transform: translateX(100%);

    .free-message-item-left-line {
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: #00b398;
    }

    .success-free-message-left-line {
      background: #00b398;
    }

    .error-free-message-left-line {
      background: #ed5473;
    }

    .info-free-message-left-line {
      background: #31a2e3;
    }

    .close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      height: 14px;
      color: #b3b3b3;
      font-size: 28px;
      line-height: 14px;
      cursor: pointer;
      transition: all linear 0.3s;
      user-select: none;
    }

    .close-btn:hover {
      color: #727a8a;
    }

    .free-message-item-icon {
      width: 24px;
      margin-right: 20px;
      font-size: 24px;
    }

    .success-free-message-item-icon {
      color: #00b398;
    }

    .error-free-message-item-icon {
      color: #ee5e7b;
      font-weight: bold;
    }

    .info-free-message-item-icon {
      margin-right: 20px;
      color: #31a2e3;
      font-size: 34px;
    }

    .free-message-item-content {
      min-width: 245px;
      font-size: 14px;
      line-height: 24px;
      word-wrap: break-word;
    }
  }

  .free-message-item-show {
    //transform: translateX(-15px);
    animation: move-tada-enter 0.5s ease forwards;
  }

  .free-message-item-hide {
    animation: move-tada-leave 0.5s linear forwards;
  }
}

@keyframes move-tada-enter {
  0% {
    transform: translateX(100%);
    opacity: 0.5;
  }

  75% {
    transform: translateX(-25px);
    opacity: 1;
  }

  100% {
    transform: translateX(-15px);
    opacity: 1;
  }
}

@keyframes move-tada-leave {
  0% {
    transform: translateX(-15px);
    opacity: 1;
  }

  50% {
    transform: translateX(-25px);
    opacity: 0.9;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
